Xbasic

FILE.SHORTNAME_TO_LONGNAME Function

Syntax

Longname as C = FILE.Shortname_To_Longname(C filename)

Arguments

filenameCharacter

Fully qualified filename with path names shortened to 8 characters.

Returns

LongnameCharacter

Fully qualified filename with standard long path names.

Description

Converts a shortname to a longname.

Discussion

The FILE.SHORTNAME_TO_LONGNAME() method converts an old style 8.3 Windows filename to a long name.

Example

? FILE.longname_to_shortname("C:\Databases\Expressions Test\Invoice_Header.Dbf")
= "C:\DATABA~1\EXPRES~1\Invoice_Header.Dbf"
? FILE.shortname_to_longname("C:\DATABA~1\EXPRES~1\Invoice_Header.Dbf")
= "C:\Databases\Expressions Test\Invoice_Header.Dbf"

See Also